#ifndef __KPF_DGRAMSERVICESESSION_H__
#define __KPF_DGRAMSERVICESESSION_H__

#include "KPF_Session.h"

class KPF_DGramServiceSession : public KPF_Session
{
public:
	KPF_DGramServiceSession( const int8_t *pIP, const int16u_t iPort );
	
	virtual ~KPF_DGramServiceSession( void );	
	
	virtual int32_t handle_input( const KPF_Socket *pSocket, const int8u_t *pData, const int32_t iDataLen );

	virtual int32_t handle_output( const KPF_Socket *pSocket, const int8u_t *pData, const int32_t iDataLen );
	
	virtual int32_t handle_event( const KPF_Event &eEvent );
	
protected:

private:
	std::string m_IP;
	int16u_t m_Port;
};

#endif
